﻿<?xml version="1.0" encoding="utf-8"?>

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:msxsl="urn:schemas-microsoft-com:xslt" exclude-result-prefixes="msxsl"
>
  <xsl:output method="xml" indent="yes"/>

  <xsl:template match="Result">
    <html>
      <style media="all" type="text/css">
        fieldset {
        padding:10px;
        margin:10px;
        color:#333;
        border:#06c dashed 1px;
        margin:15px;
        }

        legend {
        color:#06c;
        font-weight:800;
        background:#fff;
        font-size: 15px;
        font-weight:bolder;
        }
        body{
        /*background: url("./images/main_bottom_bg.jpg") no-repeat scroll right bottom #E7EEF8;*/
        color: #333333;
        font-family: "宋体",Arial Helvetica,sans-serif;
        font-size: 12px;
        }
        table.grid_layout {
        border-collapse: collapse;
        }
        table {
        border-collapse: separate;
        border-spacing: 0;
        }
        .separator {
        background: url("./images/separator.gif") repeat-x scroll 0 0 transparent;
        height: 2px;
        line-height: 2px;
        overflow: hidden;
        }
        table.grid_layout tr td {
        font-weight: normal;
        height: 15px;
        padding: 5px 0;
        vertical-align: middle;
        }



        .gridview tr
        {
        line-height :200%;
        }

        .gridview{
        border:1px solid #5F6F7E;
        border-collapse:collapse;
        font-family:Arial;
        }
        .gridview caption{
        text-align:left;
        padding-bottom:6px;
        }
        .gridview th{
        border:1px solid #5F6F7E;
        background-color:#E2E2E2;
        color:#0000FFpx;
        text-align:center;
        font-weight:bolder;
        padding:2px 8px 2px 6px;
        margin:0px;
        }
        .gridview td{
        margin:0px;
        padding:0px;
        border:1px solid #ABABAB; /* 单元格边框 */
        }

        .gridview td div
        {
        overflow:hidden;
        text-overflow:ellipsis;
        white-space:nowrap;
        }
      </style>

      <body>

        <div  style='layout-grid:15.6pt'>

          <p  align='left' style='text-align:left'>
            <b>
              <span lang='EN-US'
style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:red'>
                <xsl:value-of select="SysUser/DisplayName" />
              </span>
            </b>
            <span
style='font-size:10.0pt;font-family:"Verdana","sans-serif"'> </span>
            <span
style='font-size:10.0pt;font-family:宋体'>，   你好！</span>
          </p>



          <table class="gridview" width="98%" bordercolor="black" border="1">
            <tr>
              <th width="20%" style="text-align:right;">票号</th>
              <td>
                <xsl:value-of select="PnrDetr/TicketNo" />
              </td>
            </tr>
            <tr>
              <th width="20%" style="text-align:right;">出票时间</th>
              <td>
                <xsl:value-of select="TicketDate" />
              </td>
            </tr>
            <tr>
              <th width="20%" style="text-align:right;">处理时间</th>
              <td>
                <xsl:value-of select="ProcessDate" />
              </td>
            </tr>
            <tr>
              <th width="20%" style="text-align:right;">原始信息</th>
              <td>
                <div style="width: 100%; height: 380px; overflow-y: auto;color: #00FF00; background-color: #000000; font-size: 15px; white-space: pre;font-family: '宋体', Simsun;">
                  <xsl:value-of select="PnrDetr/DetrDescription" />
                </div>
              </td>
            </tr>
          </table>



          <p class='MsoNormal' align='left' style='text-align:left'>
            <span lang='EN-US'
style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>
              <br />
              -------------------------------------------------------- <br />
              REMINDER: <br />
              THIS IS AN UNATTENDED ALIAS. DO NOT REPLY OR FORWARD TO THIS ALIAS. <br />
            </span>
            <span style='font-size:10.0pt;font-family:宋体'>这是系统自动发出的邮件，请您不要回复此邮件。</span>
            <span
style='font-size:10.0pt;font-family:"Verdana","sans-serif"'> </span>
          </p>

        </div>

      </body>
    </html>
  </xsl:template>
</xsl:stylesheet>